package tables

import (
	"time"
)

type UserCarmine struct {
	Id             int       `xorm:"not null pk autoincr INT(10)" json:"id" form:"id" mapstructure:"id"`
	UserId         int       `xorm:"" json:"user_id" form:"user_id" mapstructure:"user_id"`
	CarmineId      int       `xorm:"" json:"carmine_id" form:"carmine_id" mapstructure:"carmine_id"`
	IsUse          int       `xorm:"" json:"is_use" form:"is_use" mapstructure:"is_use"`
	CreatedAt      time.Time `xorm:"created" json:"created_at" form:"created_at" mapstructure:"created_at"`
	UpdatedAt      time.Time `xorm:"updated" json:"updated_at" form:"updated_at" mapstructure:"updated_at"`
	DeletedAt      time.Time `xorm:"deleted" json:"deleted_at" form:"deleted_at" mapstructure:"deleted_at"`
	IsEffective    int       `xorm:"" json:"is_effective" form:"is_effective" mapstructure:"is_effective"`
	ExpirationDate time.Time `xorm:"" json:"expiration_date" form:"expiration_date" mapstructure:"expiration_date"`
	Cover          string    `xorm:"" json:"cover" form:"cover" mapstructure:"cover"`
	Title          string    `xorm:"" json:"title" form:"title" mapstructure:"title"`
	Tag            string    `xorm:"" json:"tag" form:"tag" mapstructure:"tag"`
	Acid           int       `xorm:"" json:"acid" form:"acid" mapstructure:"acid"`
	SubMchId       string    `xorm:"" json:"sub_mch_id" form:"sub_mch_id" mapstructure:"sub_mch_id"`
	Code           string    `xorm:"" json:"code" form:"code" mapstructure:"code"`
	ExpirationDay  int       `xorm:"" json:"expiration_day" form:"expiration_day" mapstructure:"expiration_day"`
	Types          int       `xorm:"" json:"types" form:"types" mapstructure:"types"`
}
